.PHONY : all
all : CalClient CalServer
CalClient : CalClient.cpp
	g++ -o $@ $^ -std=c++11 -ljsoncpp
CalServer : CalServer.cpp
	g++ -o $@ $^ -std=c++11 -lpthread -ljsoncpp

.PHONY : clean
clean:
	rm -rf CalClient CalServer